package com.yyfax.pay.third.model.to.yyfax;

/**
 * 单笔代付响应结果绑定
 * 
 * @author buyi
 * @date 2018-05-12 01:27:19
 * @since v2.1.5
 */
public class PayoutDataBinder extends DataBinder {

	private PayoutOrderYYContent content;

	public PayoutOrderYYContent getContent() {
		return content;
	}

	public void setContent(PayoutOrderYYContent content) {
		this.content = content;
	}

	@Override
	public void setResultCode(Integer code) {
		content.setResultCode(code);
	}

	@Override
	public void setResultMsg(String resultMsg) {
		content.setResultMsg(resultMsg);
	}

	@Override
	public Integer getResultCode() {
		return content.getResultCode();
	}

	@Override
	public String getResultMsg() {
		return content.getResultMsg();
	}

	@Override
	public String getBusiId() {
		return content.getPayoutOrderId();
	}

	public void setPayoutOrderId(String payoutOrderId) {
		content.setPayoutOrderId(payoutOrderId);
	}

	@Override
	public String getSerialNo() {
		return content.getSerialNo();
	}

	public void setSerialNo(String serialNo) {
		content.setSerialNo(serialNo);
	}

	@Override
	public String getReqUrl() {
		return content.getReqUrl();
	}

	public void setReqUrl(String reqUrl) {
		content.setReqUrl(reqUrl);
	}

	@Override
	public String getReqContent() {
		return content.getReqContent();
	}

	public void setReqContent(String reqContent) {
		content.setReqContent(reqContent);
	}

	@Override
	public String getRspContent() {
		return content.getRspContent();
	}

	public void setRspContent(String rspContent) {
		content.setRspContent(rspContent);
	}

	/**
	 * 构建一个新的实例
	 * 
	 * @author buyi
	 * @date 2018-05-12 02:28:24
	 * @since v2.1.5
	 * @return
	 */
	public static PayoutDataBinder newInstance() {
		PayoutDataBinder binder = new PayoutDataBinder();
		binder.setContent(new PayoutOrderYYContent());
		return binder;
	}

}
